using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PengYouClient
{
    public partial class PublishComment : Form
    {
        Publish pub;

        public PublishComment(Publish pub)
        {
            this.pub = pub;
            InitializeComponent();
        }

        private void OkBut_Click(object sender, EventArgs e)
        {
            this.Text = LanguageManager.GetString("WindowPublishCommentAddComments");
            this.pub.comments = CommentBox.Text;
            this.Close();
        }
    }
}